<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<center>
<table border="1">
<tr>
<td>id</td>
<td>新闻名称</td>
<td>新闻内容</td>
<td>新闻发生时间</td>
<td>操作</td>
</tr>
@foreach ($users as $user)
<tr>
<td>{{ $user->id }}</td>
<td> {{ $user->newsname }}</td>
<td> {{ $user->news }}</td>
<td> {{ $user->newstime }}</td>
<td><a href="del?id={{ $user->id }}">删除</a> </td>
</tr>
{{ $users->links() }}
@endforeach
</table>
</center>
